package com.ffms.dao;

import com.ffms.entity.Admin;

public interface AdminDao {
    /**
     * @param username
     * @param password
     * @return
     */
    public Admin findAdmin(String username, String password);

    Admin findAdminByName(String username);

    Admin findAdminBypwd(String password);

    /**
     * @param admin
     * @return
     */

    public int save(Admin admin);

    int update(Admin ad);
}
